import Vue from 'vue'
import Router from 'vue-router'
import vGoods from '../components/goods/goods'
import vRatings from '../components/ratings/ratings'
import vSeller from '../components/seller/seller'

Vue.use(Router)
export default new Router({
  routes: [
    { path: '/goods',
      name: 'goods',
      component: vGoods
    },
    { path: '/ratings',
      name: 'ratings',
      component: vRatings
    },
    { path: '/seller',
      name: 'seller',
      component: vSeller
    }
  ],
  linkActiveClass: 'active'
})
